package birdsnail.springcloud.myselfserviceprovider.mapper;

import birdsnail.springcloud.myselfserviceprovider.domain.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PersonMapper {

    @Select("select ID as id, NAME as name from PERSON where ID = #{id}")
    Person selectById(@Param("id") Integer id);
}
